<?php
if($_POST['cars'] != '') {
var_dump($_POST['cars']);
}
?>
<html>

<body>

<form accept="" method="post">
<select name="cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="fiat">Fiat</option>
<option value="audi">Audi</option>
</select>
<input type="submit" action="" value="递交" name="submit">
</form>

</body>
</html>
